home *** CD-ROM | disk | FTP | other *** search
- DECOCALC Decorative Pocket Calculator
- and Mulitos ALERTs display.
- ACC/APP mixed program by Jacques Delavoix
- (C) November 1995 / May 1997, Version 1.40, English & French Release.
- FREEWARE Distribution.
-
- ---------- Introduction ----------
-
- This calculator has been conceived for offer, an useful side and an
- aesthetic aspect by use of GEM 3D interface of Falcon (from TOS 4.02 Version).
- It work in a similar way of a pocket calculator. Somes changes have been maked
- as it is explained below.
-
- Under Multitos, Decocalc is now responsible for display Mint Alert's as
- "Memory Violation" or "Bus Error", by example. This function, wich fully
- replace "ALERT.ACC" is available only if Decocalc is launched as Accessory.
-
- ----------------------- Présentation ------------------------
-
- - 20 digits Display.
- - State indicator on 4 digits.
- - Chained calculation.
- - "Memory" overflow protected.
- - Power 2 implicit function : 'number' then '*' then '='
- - Working is 'static' : the calculator state are left unchanged between
- closing and reopening accessory.
- - Memory used : Less than 45000 Bytes.
-
- Six working modes :
-
- REEL : 'Floating' Mode (default mode)
- All operations are availables.
- Accuracy :
- 9999999999999.999999
- -9999999999999.99999
-
-
- For all others modes, the Key [ π ] (Pi) is not available.
-
- DEC : 'Décimal' mode (Integer mode).
- Accuracy :
- 9999999999999
- -9999999999999
-
- HMS : 'Hour, Minute, Second' mode. Only the four basic operations
- are permitted. Depress the key '=' or 'Return' or 'Enter'
- allow to normalize an input only maked in Seconds.
-
- This mode has a special function for the Substraction:
- If the second operand is higher than the first operand, then
- the two operands are inverted; I have programmed this for to
- avoid stupid result in this case.
-
- (Negatives values are prohibited in this mode).
-
- Accuracy :
- 596523:14:07
- Examples :
-
- '25' or ':25' => 25 seconds
- '125' or '2:05' => 2 minutes and 5 seconds.
- '4:20' or ':4:20' => 4 minutes and 20 seconds.
- '3:5:8' or '3:05:08' => 3 hours 5 minutes 8 seconds.
- '4::' or '4:00:00' => 4 hours.
-
- HEX : 'Hexadécimal' Mode.
- Accuracy :
- 7fffffff (Positives Numbers)
- ffffffff (Négatives Numbers)
-
- OCT : 'Octal' Mode.
- Accuracy :
- 17777777777 (Positives Numbers)
- 37777777777 (Négatives Numbers)
-
- BIN : 'Binary' Mode.
- Accuracy :
- 20 "Bits", THE NUMBERS ARE TRUNQUATED TO THE LENGHT OF
- THE DISPLAY.
-
- ------------------ The state Indicator : ------------------
-
- This indicator, in normal work, always display a first Prompt
- character ('>') which indicate that you are in the "1st operand" input
- mode. After input this first value, and when you type one of the four
- operation key ( / , * , - or + ) the corresponding symbol is displayed
- on the right of the Prompt. At this stage, it is again possible to
- operation change, the calculator wait the start of the second value
- input. From the beginning of this second input, a second Prompt '>' is
- displayed on the right of the "operation symbol".
-
- Remark that this indicator is actualised in the case of erasing by
- the [ Cec ] key (see below).
- An 'm' symbol is displayed on the left of the first prompt '>' if a
- value (positive or negative) is in the "memory" register.
-
- --------------------------- Erasing : -----------------------------
-
- [ Cec ] : Erase, at each hit, one of the three calculation phase, in
- order : 2nd operand, Operation, 1st operand.
-
- [ Mrc ] : Set the display with the memorised value. The memory
- register is cleared in the case of second hit on that key
- and if any other action have been executed since the first
- hit.
-
- ------------------------ Using Keyboard : -------------------------
-
- Most keys are directly workable from the keyboard computer.
-
- Here is the Keys only available from the Mouse :
-
- [ BIN ] [ OCT ] [ HEX ] [ DEC ] [ REEL ] [ HMS ]
-
- [ √ ] (Racine)
- [ +/- ] [ π ] (Pi)
- ---------------------------------------------
-
- The [ Cec ] key is activated by 'Clr Home' of keyboard. The four
- other keys on the right are workable by Keyshorts :
- ( 'Alternate' + 'key' ). An option in the "Infos" dialogue box allow
- to display or not these Keyshorts ( [ INF ] Key).
-
- At last, the key 'Delete' or 'Backspace' clear the character on the
- right of the display.
-
- ----------------------- Oversteppings : -----------------------
-
- The indicator display the following messages if occurs an error or
- an overstepping :
-
- DIV : Attempt to divide by 0.
-
- DEP : Capacity overflow :
-
- For 'DEC' and 'REEL' modes :
- Operation is cancelled and the first operand is putting back
- on the display.
-
- For all others modes :
- Operation is worked, but result is truncated to the value
- of an 'long' (4 bytes) and that result is False.
-
- MEM : Putting an value in "memory" is going to produce an overflow of
- the "memory" register, putting in memory is cancelled and the
- value in memory remain unchanged.
-
- ---------------------- The informations Box: ----------------------
-
- This box is available by the [ INF ] key.
- It is possible to activate or deactivate the display of keyshorts
- activated by 'Alternate' and to save the actual settings.
-
- The parameters saved are :
-
- - The window calculator co-ordinates, an automatic adjustement avoid that
- calculator go out of the screen, by example in the case of changing for
- lower graphic mode.
-
- - Calculation mode.
-
- - Keyshorts display state.
-
- WARNING : The calculator show can be less good if you have changed the
- palette colours.
-
- ------------------------ Others Functions : ----------------------
-
- FULLER :
- --------
- The "Fuller" button of calculator window allow to reduce the height
- of this window at his title bar only. An second clic give back to
- the normal window.
- This possibility can be disabled by editing the resource file, then
- change the last free string, called "REDUC_FLAG", from "TRUE" to
- "FALSE".
-
- MINT ALERT :
- ------------
- You can also change the value of Timer, the time elapsed between two
- read of Pipe ALERT, by editing the Free string called "TIME_VALUE".
- The initial (and default) value = 500 (milliseconds).
-
- OTHERS :
- --------
- You can, also, edit the resource file for adaptation to others
- languages which are not handled by this package :
-
- "MENU_TITLE" is the string used for Accessory Menu.
- "WINDOW_TITLE" is the string used for window Title bar.
-
-
- WARNING : IF YOU EDIT THE RESOURCE FILE, MAKE SURE THAT YOU ARE IN 640X400
- GRAPHIC MODE MINIMUM.
- It is not recommended that you edit the formulars called "CALC"
- and "CALC_BR", otherwise it's at your own risks !!!
-
-
- ------------------------- Contact : ---------------------------
-
- Mr DELAVOIX Jacques
- 159, rue Georges Clémenceau
- 17320 MARENNES
- FRANCE
-
-